package com.woniu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HisStock对象", description="")
public class HisStock implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "stock_id", type = IdType.AUTO)
    private Integer stockId;

    @ApiModelProperty(value = "药品id")
    private Integer medicineId;

    @ApiModelProperty(value = "名称")
    private String medicineName;

    @ApiModelProperty(value = "规格")
    private String medicineSpecifications;

    @ApiModelProperty(value = "剩余库存（可用）")
    private Integer stockSurplus;

    @ApiModelProperty(value = "不可用药物数量（过期，损坏）")
    private Integer stockNotAvailable;

    @ApiModelProperty(value = "记录新增时间")
    private LocalDateTime rawAddTime;

    @ApiModelProperty(value = "记录更新时间")
    private LocalDateTime rawUpdateTime;


}
